

public class Main {
	public static void main(String[] args) {
		ComplexNumber a = new ComplexNumber(1.1, 2.2);
		ComplexNumber b = new ComplexNumber(3.3, 4.4);
		ComplexNumber r = new ComplexNumber(2.2, 2.2);
		
		System.out.println(b.ComplexMinus(a).equals(r));
		
		r = new ComplexNumber(0, 2.2);
		System.out.println(a.ComplexMinus(1.1).equals(r));
		
		b = new ComplexNumber(-2, -1.4);
		r = new ComplexNumber(3.1, 3.6);
		System.out.println(a.ComplexMinus(b).equals(r));
		
		r = new ComplexNumber(-3, -1.4);
//		System.out.println(b.toString());
//		System.out.println(b.ComplexMinus(1).toString());
//		System.out.println(r.toString());
		System.out.println(b.ComplexMinus(1).equals(r));
		
	
	}
}
